
add_definitions(-D_USE_MATH_DEFINES)

set (TEST_SOURCES
	main.cpp
	)

set (TEST_MEDIA_MESHES
	../../media/meshes/something.xmesh
	../../media/meshes/temple.xgroup
	#../../media/meshes/cubes.xgroup
	)

set (TEST_MEDIA_TEXTURES
	../../media/textures/BeachStones.jpg
	../../media/textures/BumpyMetal.jpg
	../../media/textures/combine.jpg
	../../media/textures/density_terrain.jpg
	../../media/textures/dust.png
	../../media/textures/gras_02.png
	../../media/textures/green_long_grass_512.JPG
	../../media/textures/terrain.png
	../../media/textures/materials.xmtrs
	)

set (TEST_MEDIA_SHADERS	
	../../media/shaders/billboard.frag
	../../media/shaders/billboard.vert
	../../media/shaders/billboard_depth.frag
	../../media/shaders/billboard_depth.vert
	../../media/shaders/billboard_shadow.frag
	../../media/shaders/billboard_shadow.vert
	../../media/shaders/combine.frag
	../../media/shaders/combine.vert
        ../../media/shaders/effects.xfxs
	../../media/shaders/gpuinstancing.frag
	../../media/shaders/gpuinstancing.vert
	../../media/shaders/gpuinstancing_depth.frag
	../../media/shaders/gpuinstancing_depth.vert
	../../media/shaders/gpuinstancing_shadow.frag
	../../media/shaders/gpuinstancing_shadow.vert
	../../media/shaders/gpuparticle.frag
	../../media/shaders/gpuparticle.vert
	../../media/shaders/lighting.shader
	../../media/shaders/instancing.frag
	../../media/shaders/instancing.vert
        ../../media/shaders/show_frame.frag
        ../../media/shaders/show_frame.vert
	../../media/shaders/skin.frag
	../../media/shaders/skin.vert
	../../media/shaders/skin_depth.frag
	../../media/shaders/skin_depth.vert
	../../media/shaders/skin_shadow.frag
	../../media/shaders/skin_shadow.vert
	../../media/shaders/std_depth.frag
	../../media/shaders/std_depth.vert
	../../media/shaders/std_phong.frag
	../../media/shaders/std_phong.vert
	../../media/shaders/std_shadow.frag
	../../media/shaders/std_shadow.vert
	)

source_group ("Sources" FILES ${TEST_SOURCES})
source_group ("Media\\Textures" FILES ${TEST_MEDIA_TEXTURES})
source_group ("Media\\Shaders" FILES ${TEST_MEDIA_SHADERS})
source_group ("Media\\Meshes"	FILES ${TEST_MEDIA_MESHES})

add_executable (
	test
	${TEST_SOURCES}
	${TEST_MEDIA_MESHES}
	${TEST_MEDIA_SHADERS}
	${TEST_MEDIA_TEXTURES}
	)

target_link_libraries (
	test
        CrimsonEngine
        CrimsonMotion
	${SDL_LIBRARY}
	)
